package Utils;

import Bean.MindMapNode;

public class TreeUtils {

    public static void deleteNode(MindMapNode node){
        MindMapNode parent = node.getParentNode();
        if(parent!=null){
            parent.getChildNode().remove(node);
        }
    }

}
